#ifndef __UNIT_H__
#define __UNIT_H__

typedef enum
{
  MILE = 1,
  YARD = 2,
  FEET = 3,
  INCH = 4
}BritishUnit;

class Unit
{
public:
  Unit(BritishUnit unitType, unsigned int unitValue);
  bool operator==(const Unit& unit) const;
  Unit operator+(const Unit& unit) const;
private:
  unsigned int mUnitValue;
};

#endif
